<?php
$form=$this->beginWidget('CActiveForm', array(
    'id'=>'item-cat-form',
    'method'=>'get',
    'htmlOptions' => array('class' => 'da-form')
)); ?>
    <div class="da-form-row">
        <div class="da-form-col-2-8">
            <label for="ItemCat_name">Tên chuyên mục</label>
            <?php echo $form->textField($model,'name',array('maxlength'=>50)); ?>
        </div>
        <div class="da-form-col-1-8">&nbsp;</div>
        <div class="da-form-col-2-8">
            <label for="ItemCat_parent_id">Chuyên mục cha</label>
            <?php echo $form->dropDownList($model, 'parent_id', $model->getAllCatData(true), array('empty' => '- Tất cả chuyên mục -')); ?>
        </div>
        <div class="da-form-col-1-8">&nbsp;</div>
        <div class="da-form-col-2-8">
            <label>&nbsp;</label>
            <input type="submit" class="da-button blue" value="Tìm kiếm">
        </div>
    </div>
<?php $this->endWidget(); ?>